Skip to content

Conversation

@Josh-Matsuoka
Copy link
Contributor

@Josh-Matsuoka Josh-Matsuoka commented Jan 15, 2026

Fixes: #226

Depends on: cryostatio/cryostat-core#625

Adds an api endpoint (/smart-triggers/) that supports three operations:

GET: Returns the currently registered smart triggers that the agent is aware of

POST: Appends the smart triggers defined by the body to the currently active ones

DELETE: Removes the smart triggers defined by the body from the currently active ones.

Also adds an extra validation method to the trigger parser to check if trigger definitions are valid. This step is done before making any changes to the trigger list or evaluation thread.

Opening as draft pending the accompanying cryostat/web sides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature or request safe-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Story] Smart Triggers API

1 participant